Add a forgotten export
authorMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2020 15:21:05 +0000 (11:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2020 15:22:48 +0000 (11:22 -0400)
gtk_selection_model_unselect_callback needs to be exported.

gtk/gtkselectionmodel.h

index 2a6318d6f23f28c8a5391b052ff6a5cbb9ef5556..86657fba1553a93ae698f849b25c780d2dcc5fb1 100644 (file)
@@ -51,6 +51,10 @@ G_DECLARE_INTERFACE (GtkSelectionModel, gtk_selection_model, GTK, SELECTION_MODE
  * be changed, in which case @selected is set to %FALSE.
  *
  * @start_range and @n_items are set to return the range.
+ *
+ * The callback will be called repeatedly to find all ranges
+ * to operate on until it has exhausted the items of the model,
+ * or until it returns an empty range (ie @n_items == 0).
  */
 typedef void     (* GtkSelectionCallback) (guint     position,
                                            guint    *start_range,
@@ -147,6 +151,7 @@ GDK_AVAILABLE_IN_ALL
 gboolean                gtk_selection_model_select_callback     (GtkSelectionModel      *model,
                                                                  GtkSelectionCallback    callback,
                                                                  gpointer                data);
+GDK_AVAILABLE_IN_ALL
 gboolean                gtk_selection_model_unselect_callback   (GtkSelectionModel      *model,
                                                                  GtkSelectionCallback    callback,
                                                                  gpointer                data);